package com.sifang.service.impl;

import com.sifang.dao.ArchivesDao;
import com.sifang.domain.Archives;
import com.sifang.service.IArchivesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArchivesServiceImpl implements IArchivesService {

    @Autowired
    private ArchivesDao archivesDao;

    //获取驾驶员档案列表
    @Override
    public Archives list(Integer id){
         Archives a = archivesDao.list(id);
         return a;
    }

}
